package com.BluetoothTest;

import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

public class StreamActivity extends Activity{
	private BluetoothAdapter mBtAdapter = BluetoothTest.mBtAdapter;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.stream);

        TextView tex = (TextView)findViewById(R.id.receivedata);

        Intent intent = getIntent();
        //キーを使ってパラメータを取得
        final String var = intent.getStringExtra("NUMBER");
        tex.setText(var);

    }


    public void Log(String string){
		Toast.makeText(this, string, Toast.LENGTH_SHORT).show();
    }
}
